package thomas.javase.threads;

import org.junit.Test;

public class RunableTeset {

    @Test
    public void testNewRunable(){
        Runnable task1 = () -> {System.out.println(Thread.currentThread().getName() + " is running");};
        new Thread(task1).start();
    }
}
